﻿using System;

namespace Moonlite.Languages.Andromeda.Implementation
{
    internal abstract class AbstractAndromedaParser : IAndromedaParser
    {
        private ICompilationErrors compilationErrors;
        public ICompilationErrors CompilationErrors
        {
            get
            {
                return compilationErrors;
            }
        }

        public AbstractAndromedaParser()
        {
            compilationErrors = new CompilationErrors();
        }

        public AbstractAndromedaParser(ICompilationErrors compilationErrors)
        {
            this.compilationErrors = compilationErrors;
        }
    }
}
